﻿@model IEnumerable<SQLResident.Models.ActionLog>

@{
    ViewBag.Title = "Index";
}
<ul class="breadcrumb">
    <li><a href="@Url.Action("Index","Home")">Inicio</a> <span class="divider">/</span></li>
    <li class="active">Registro de Acciones</li>
</ul>
<h2>Index</h2>

<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table>
    <tr>
        <th>
            DateTime
        </th>
        <th>
            Description
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.DateTime)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Description)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { id=item.ActionLogId }) |
            @Html.ActionLink("Details", "Details", new { id=item.ActionLogId }) |
            @Html.ActionLink("Delete", "Delete", new { id=item.ActionLogId })
        </td>
    </tr>
}

</table>
